package com.yx.common.security.config;

import com.github.pagehelper.PageInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 测试
 *
 * @author kai.yang
 * @date 2023/3/30 9:52
 */
@Configuration
public class MybatisPlusConfig {
 
    /**
     * 
     * page helper 的分页插件
     */
    @Bean
    public PageInterceptor pageInterceptor() {
        return new PageInterceptor();
    }
}